<?php
class NoteTabs extends CWidget{

    public $tabs = array();
    public $active = 0;

    public function run(){

        if(!empty($this->tabs)){
            $tabs =  $this->tabs;
        }

        $this->render('noteTabs', array('tabs'=>$tabs, 'active'=>$this->active));
    }
    
}
?>
